package shared.pojo

import org.joda.time.DateTime
import shared.pojo.Pojo.FieldValueT
import shared.pojo.Sample.{ProcessData}
import upickle.default._

/**
 * Created by yz on 13/7/2022
 */
object Test {

  object Get {

    case class Request(id: Int = 0, sampleId: String = "", testType: String = "", company: String = "")

    object Request {

      implicit val rw = macroRW[Request]

    }

  }

  case class TestInfoData(id: Int = 0, sampleId: String = "", testType: String = "", company: String = "",
                          info: List[ProcessData] = List.empty) extends FieldValueT

  object TestInfoData {

    implicit val rw = macroRW[TestInfoData]

  }


}
